import fetch from '@/common/utils/fetch';

// 产品列表
export const getProductList = (body = {}) => fetch('/mweb/product/page', {
    body: {
        transId: '06240001',
        ...body,
    },
});
// 产品详情
export const getProduct = (body = {}) => fetch('/mweb/product/query', {
    body: {
        transId: '06240002',
        ...body,
    },
});
// 添加/编辑产品
export const updateProduct = (body = {}) => fetch('/mweb/product/update', {
    body: {
        transId: '06240004',
        ...body,
    },
});
